package com.bluesky.plum.uimodels.standard.components.menu;

import com.bluesky.plum.uimodels.standard.UIComponent;
import com.bluesky.plum.uimodels.standard.components.EventListener;

public class MenuItem extends UIComponent {
	protected EventListener clickListener;

	public EventListener getClickListener() {
		return clickListener;
	}

	public void setClickListener(EventListener clickListener) {
		this.clickListener = clickListener;
	}

	public void click() {
		if (clickListener != null)
			clickListener.process();
	}
}
